package com.it985.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * TODO:
 *
 * @Author yushu
 * @Date 2022/3/31 18:13
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService{
    @Override
    public String paymentInfo_OK(Integer id) {
        return "-----PaymentFallbackService fall back----paymentInfo_OK";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "-----PaymentFallbackService fall back----paymentInfo_TimeOut";
    }
}
